package com.softaria.gwt.common.client.widget;

import com.google.gwt.user.client.ui.HTML;

public class Href extends HTML {

  public Href(String href, String label, String target) {
    setHTML("<a href=\"" + href + "\" target=\"" + target + "\">" + label + "</a>");
  }

  public Href(String href, String label) {
    this(href, label, "_blank");
  }

}